package com.dnjn.happiness.emo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dnjn.happiness.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 分档
 * </p>
 *
 * @author Amber
 * @since 2023-10-09
 */
@Getter
@Setter
@TableName("emo_happy_level")
public class HappyLevel extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * PK
     */

    @JsonSerialize(using = ToStringSerializer.class)
    @TableId(value = "level_id", type = IdType.ASSIGN_ID)
    private Long levelId;


    

    private String levelName;

    /**
     * 快乐值
     */
    private Integer happinessScore;

    /**
     * 是否删除|0-否 1-是|valid
     */
    private String deleted;

    @TableField(exist = false)
    private Integer maxScore;
}
